package com.mdsoft.service.impl;

import com.mdsoft.dao.GroupCountDao;
import com.mdsoft.dao.PlanDao;
import com.mdsoft.service.GroupCountService;

public class GroupCountServiceImpl implements GroupCountService {

	private GroupCountDao groupCountDao;
	
	private PlanDao planDao;
	
	@Override
	public void setGroupCount(int groupCount) {
		groupCountDao.setGroupCount(groupCount);
		planDao.setPlan(PlanDao.PLAN_WAIT_CHOOSE);
	}

	@Override
	public int getGroupCount() {
		return groupCountDao.getGroupCount();
	}

	public GroupCountDao getGroupCountDao() {
		return groupCountDao;
	}

	public void setGroupCountDao(GroupCountDao groupCountDao) {
		this.groupCountDao = groupCountDao;
	}

	public PlanDao getPlanDao() {
		return planDao;
	}

	public void setPlanDao(PlanDao planDao) {
		this.planDao = planDao;
	}

	
}
